package de.jmda.gen.java.impl;

import static org.junit.Assert.assertTrue;

import org.apache.log4j.Logger;
import org.junit.Test;

import de.jmda.gen.Generator;
import de.jmda.gen.GeneratorException;

public class JUTDefaultFieldModifiersGenerator
{
	private final static Logger LOGGER =
      Logger.getLogger(JUTDefaultFieldModifiersGenerator.class);

	/**
	 * TODO improve (constraints, ...)
	 * @throws GeneratorException
	 */
	@Test
	public void testDefaultFieldModifiersGenerator() throws GeneratorException
	{
		Generator generator = new DefaultFieldModifiersGenerator();

		StringBuffer generated = generator.generate();

		LOGGER.debug("generated [" + generated + "]");

		assertTrue(
				"unexpected field modifiers [" + generated + "]",
				"".contentEquals(generated));
	}
}